<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>欢迎来到OA系统</h1>
<a th:if="${session.username == null}" href="http://localhost:8081/login?target=http://localhost:8082/oa">立即登录</a>
<a th:if="${session.username != null}" href=""><div th:text="${session.username}"></div>退出登录</a>
</body>
</html>